﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace CashOrCard.Models
{
    public class PromotionComment
    {
        public int PromotionCommentId { get; set; }
        public string PromotionCommentBody { get; set; } 
       
        public int UserId { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        
        public DateTime CreateDate { get; set; }
        public bool IsEnable { get; set; }

        public virtual Promotion Promotion { get; set; }

    }
}